﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="payroll_general.aspx.cs" Inherits="payroll_payroll_general" MasterPageFile="~/payroll/payroll.master" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>
<asp:Content ID="content1" runat="server" ContentPlaceHolderID="ContentPlaceHolder1" >
    <div class="grid_16" id="content">
    <!--  TITLE START  --> 
    <div class="grid_9">
    <h1 class="dashboard">Payroll
        <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
        </asp:ToolkitScriptManager>
        </h1>
    </div>
    <!--RIGHT TEXT/CALENDAR-->
    <!--RIGHT TEXT/CALENDAR END-->
    <div class="clear">
    </div>
    <!--  TITLE END  -->    
    <!-- #PORTLETS START -->
    <div id="portlets">
    <!-- FIRST SORTABLE COLUMN START -->
      <div class="column" id="left">
          
     
      
      </div>
        <div class="column" id="Div1">
         
      
                            <table style="width: 100%">
                                <tr>
                                    <td>
                                        &nbsp;</td>
                                    <td style="width: 323px">
                                        &nbsp;</td>
                                    <td>
         
      
                            <asp:LinkButton ID="LinkButton1" runat="server" CssClass="button_add" 
                                    TabIndex="5"><span>Add New</span></asp:LinkButton>
                                    <asp:ModalPopupExtender  ID="Panel_Add_Extender" runat="server" 
                                    TargetControlID="LinkButton1" PopupControlID="PADD" 
                                    BackgroundCssClass="FondoAplicacion"></asp:ModalPopupExtender>
         
      
                                    </td>
                                </tr>
                            </table>
         
      
      </div>
       <div class="column" id="Div2">
         
      
           <asp:Label ID="Label1" runat="server" Text="Label" Visible="False"></asp:Label>
         
      
           <asp:Label ID="lb_company_id" runat="server" Text="0" Visible="False"></asp:Label>
           <asp:Label ID="lb_account_id" runat="server" Text="0" Visible="False"></asp:Label>
         
      
      </div>
     
      <!-- FIRST SORTABLE COLUMN END -->
      <!-- SECOND SORTABLE COLUMN START -->
      
	<!--  SECOND SORTABLE COLUMN END -->
    <div class="clear"></div>
    <!--THIS IS A WIDE PORTLET-->
    <div class="portlet">
        <div class="portlet-header fixed">
            <img src="images/icons/user.gif" width="16" height="16" alt="Employement" /> 
            Form </div>
		<div class="portlet-content nopadding">
      
     
        <asp:Panel ID="PForm" runat="server" >  

        <table id="Table1" runat="server" width="100%">
       
     
        <tr>
        <td>
         <asp:GridView runat="server" ID="gv_general" 
                onrowdatabound="gv_general_RowDataBound" Width="100%">
                
                      <HeaderStyle BackColor="#D1D1D1"  />
                
                      </asp:GridView>
           
        </td>
        </tr>
        <tr>
            <td>
             <div class="clear"></div>
                <asp:Panel ID="PADD" runat="server" CssClass="CajaDialogo" Width= "750" >
                
                
                    <table style="width: 100%" cellpadding="2" cellspacing="2" class="active">
                        <tr>
                            <td colspan="4" class="portlet-header fixed">
                                Payroll</td>
                           
                        </tr>
                        <tr>
                            <td>
                                Name</td>
                            
                                <td colspan="3">
                                    <asp:TextBox ID="tb_name" runat="server" Width="300px" TabIndex="7"></asp:TextBox>
                            </td>
                               
                                
                        </tr>
                        <tr>
                            <td>
                                Start Date</td>
                            <td>
                                <asp:TextBox ID="tb_stdatepop" runat="server" Width="200px" TabIndex="8"></asp:TextBox>
                                <asp:CalendarExtender ID="tb_stdatepop_CalendarExtender" runat="server" Format="MM/dd/yyyy" CssClass="cal_Theme1"
                                    TargetControlID="tb_stdatepop">
                                </asp:CalendarExtender>
                            </td>
                                <td>
                                    End Date</td>
                                <td>
                                    <asp:TextBox ID="tb_enddatepop" runat="server" Width="200px" TabIndex="9"></asp:TextBox>
                                    <asp:CalendarExtender ID="tb_enddatepop_CalendarExtender" runat="server" Format="MM/dd/yyyy" CssClass="cal_Theme1"
                                        TargetControlID="tb_enddatepop">
                                    </asp:CalendarExtender>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                Extra Order</td>
                            <td>
                                <asp:Label ID="lb_extraorder" runat="server" Text="0.00"></asp:Label>
                            </td>
                            <td>
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td>
                                Comments</td>
                            <td colspan="3">
                                <asp:TextBox ID="tb_comments" runat="server" Height="100px" TextMode="MultiLine" 
                                    Width="580px" TabIndex="10"></asp:TextBox>
                            </td>
                               
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td colspan="3">
                                <asp:LinkButton ID="LinkButton4" runat="server" CssClass="button_add" 
                                    onclick="LinkButton4_Click" TabIndex="11"><span>Add</span></asp:LinkButton>
                                <asp:LinkButton ID="bt_cancel" runat="server" CssClass="button_cancel" 
                                    onclick="bt_cancel_Click"><span>Cancel</span></asp:LinkButton>
                            </td>
                        </tr>
                    </table>
                
                
                </asp:Panel> 
            
            </td>
        </tr>
        </table>

           
            <br />
          
            <br />
        </asp:Panel>
        </div>
    </div>
<!--  END #PORTLETS -->  
   </div>
    <div class="clear"> </div>
  </div>
</asp:Content>
